package common;

public class SignContinuity {

	    /**
	    　　* @param
	    　　* @return
	    　　* @author：千夜
	    　　* @date 2019/5/7 20:36
	     　 * @description: TODO：返回连续登录积分算法
	    　　*/
	public int signDay(int signContinuity) {
		signContinuity++;
		if(signContinuity<7) {
			return 0;
		}else if(signContinuity>=7&&signContinuity<14) {
			return 3;
		}else if (signContinuity>=14&&signContinuity<21) {
			return 5;
		}else if (signContinuity>=21&&signContinuity<30) {
			return 7;
		}else if (signContinuity>=30) {
			return 10;
		}
		return signContinuity;
	}
}
